//
//  CLTreeView_LEVEL2_Cell.m
//  CLTreeView
//
//  Created by 钟由 on 14-9-9.
//  Copyright (c) 2014年 flywarrior24@163.com. All rights reserved.
//

#import "CLTreeView_LEVEL2_Cell.h"

@implementation CLTreeView_LEVEL2_Cell

- (void)awakeFromNib {
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.signture.preferredMaxLayoutWidth = SCREEN_WIDTH - 39-25;
    self.signture.textColor = [UIColor colorWithHexString:@"#8a8a8a"];
    self.contentLable.font = [UIFont systemFontOfSize:13];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

//- (void)drawRect:(CGRect)rect
//{
//    int addX = _node.nodeLevel-1;
//    addX = (addX<0?1:addX)*25; //根据节点所在的层次计算平移距离
//    CGRect imgFrame = _headImg.frame;
//    imgFrame.origin.x = 14 + addX;
//    _headImg.frame = imgFrame;
//    
//    CGRect nameFrame = _name.frame;
//    nameFrame.origin.x = 62 + addX;
//    _name.frame = nameFrame;
//    
//    CGRect signtureFrame = _signture.frame;
//    signtureFrame.origin.x = 62 + addX;
//    _signture.frame = signtureFrame;
    
//}

@end
